﻿<!DOCTYPE HTML>
<head>
<title>首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<link rel="shortcut icon" href="$request.getContextPath()/resources/cws/images/logo.ico" />
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="$request.getContextPath()/resources/cws/portal/home/css/style.css" rel="stylesheet" type="text/css" media="all"/>
<link href="$request.getContextPath()/resources/cws/portal/home/css/slider.css" rel="stylesheet" type="text/css" media="all"/>

<script type="text/javascript" src="$request.getContextPath()/resources/cws/portal/home/js/jquery-1.9.0.min.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/cws/portal/home/js/jquery.nivo.slider.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/slimscroll/jquery.slimscroll.min.js"></script>
<script type="text/javascript">
	$(window).load(function() {
		$('#slider').nivoSlider();
		$("body").slimScroll({
			height: '100%',
			alwaysVisible: false
		});
	});
</script>
</head>
<body>
    <div class="header" style="margin-top: -20px;">
		<div class="header_top">
			<div class="wrap">
				<div class="logo">
					<a href="$request.getContextPath()/portal/home/index"><img src="$request.getContextPath()/resources/cws/images/logo.png" alt="" /></a>
				</div>
				<div class="menu">
					<ul>
						<li class="active"><a href="$request.getContextPath()/portal/home/index">首页</a></li>
						<li><a href="$request.getContextPath()/portal/home/product">产品中心</a></li>
						<li><a href="$request.getContextPath()/portal/home/service">服务中心</a></li>
						<li><a href="$request.getContextPath()/portal/home/news">新闻</a></li>
						<li><a href="$request.getContextPath()/portal/home/function">功能介绍</a></li>
						<li><a href="$request.getContextPath()/portal/home/about">关于我们</a></li>
						<li><a href="$request.getContextPath()/portal/home/contact">联系我们</a></li>
						<div class="clear"></div>
					</ul>
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="slider">
			<div class="slider-wrapper theme-default">
				<div id="slider" class="nivoSlider">
					<img src="$request.getContextPath()/resources/cws/portal/home/images/1.jpg" data-thumb="images/1.jpg" alt="" />
					<img src="$request.getContextPath()/resources/cws/portal/home/images/2.jpg" data-thumb="images/2.jpg" alt="" />
					<img src="$request.getContextPath()/resources/cws/portal/home/images/3.jpg" data-thumb="images/3.jpg" alt="" />
					<img src="$request.getContextPath()/resources/cws/portal/home/images/4.jpg" data-thumb="images/4.jpg" alt="" />
				</div>
			</div>
		</div>
	</div>
	<div class="main">
	   <div class="wrap">  		 
	       <div class="sidebar">
	          <div class="sidebar_left_top">
	      	     <div class="services">
	      			<h3>我的服务</h3>
					 <div class="services_list">
						 <ul>
							 #foreach($service in $services)
							 	<li><a href="$request.getContextPath()/portal/home/service/${service.id}">$service.title</a></li>
							 #end
						 </ul>
				      </div>
					 #if($services.size()>=5)
					 	<div class="view-all"><a href="$request.getContextPath()/portal/home/service">查看全部</a></div>
					 #end
	   			</div>
			</div>
			   <div class="sidebar_left_bottom">
				<div class="projects">
					<h3>我的产品</h3>
					<div class="project_img">
						#foreach($product in $products)
							<a href="$request.getContextPath()/portal/home/product/${product.id}"><img src="$url.zimg()/$product.logo" height="168px"></a>
						#end
						#if($products.size()>=3)
							<div class="view-all"><a href="$request.getContextPath()/portal/home/product">查看全部</a></div>
						#end
					</div>
				</div>
			</div>
		   </div>
		   <div class="content">
			<div class="content_bottom">
		      	<h2>欢迎进入baby慕慕开发团队</h2>
		      	<h3>Lorem Ipsum is simply dummy text of the printing atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</h3>
		      	<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident.At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</p>
		      	<p>Atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</p>
		      	     <div class="feature_list">
		      	     	<h2>Featured Services</h2>
		      		    <ul>
					  		<li>Duis aute irure dolor Sunt in culpa</li>
					  		<li>Sunt in culpa qui officia vel illum</li>
					  		<li>vel illum qui dolorem eum The wise</li>
					  		<li>The wise man therefore Lorem ipsum</li>
					  		<li>vel illum qui dolorem eum The wise</li>
							<li>vel illum qui dolorem eum The wise</li>
		               </ul>
		      	      </div>
		      	   	  <p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident.At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia.</p>
		        </div>
			 </div>
             <div class="sidebar">
				 <div class="sidebar_right_top">
     	         <h3>最新新闻</h3>
     	            <div class="latestnews">
						#foreach($new in $news)
							<div class="latestnews_desc">
								<h4>$!date.format('yyyy-MM-dd HH:mm:ss ',$new.createTime)</h4>
								<p>$new.title</p>
								<span><a href="$request.getContextPath()/portal/home/news/${new.id}">查看详情</a></span>
							</div>
						#end
						#if($news.size()>=6)
							<div class="view-all"><a href="$request.getContextPath()/portal/home/news">查看全部</a></div>
						#end
          			</div>
				 </div>
			 </div>
		     <div class="clear"></div>
 		</div>
	</div>
    #parse('portal/home/footer.html')
</body>
</html>

